<div class="span3 bs-docs-sidebar">
	<ul class="nav nav-list bs-docs-sidenav affix" role = "navigation">
		<li class="dropdown <?php echo ($this->arrParam['controller'] == 'user')?'active':''?>">
			<a href="#" class="dropdown-toggle" id = "dLabel" data-toggle="dropdown" role="button">
				User <b class="caret"></b>
			</a>
		    <ul aria-labelledby="dLabel" role="menu" class="dropdown-menu">
				<li role="presentation"><a href="/admin/user" tabindex="-1" role="menuitem">Quản lý user</a></li>
				<li role="presentation"><a href="/admin/user/growth" tabindex="-1" role="menuitem">Tăng trưởng user</a></li>
				<li role="presentation"><a href="/admin/user/login-log" tabindex="-1" role="menuitem">User đăng nhập trong ngày</a></li>
				<li role="presentation"><a href="/admin/user/total-login-chart" tabindex="-1" role="menuitem">Biểu đồ số lần đăng nhập trong ngày</a></li>
				<li role="presentation"><a href="/admin/user/total-user-login-chart" tabindex="-1" role="menuitem">Biểu đồ số user đăng nhập trong ngày</a></li>
			</ul>
		</li>
		<li class="dropdown <?php echo ($this->arrParam['controller'] == 'product' || $this->arrParam['controller'] == 'product-category')?'active':''?>">
			<a href="#" class="dropdown-toggle" id = "dLabel" data-toggle="dropdown" role="button">
				Sản phẩm <b class="caret"></b>
			</a>
		    <ul aria-labelledby="dLabel" role="menu" class="dropdown-menu">
				<li role="presentation"><a href="/admin/product-category" tabindex="-1" role="menuitem">Quản lý loại sản phẩm</a></li>
				<li role="presentation"><a href="/admin/product" tabindex="-1" role="menuitem">Quản lý sản phẩm</a></li>
				<li class="divider" role="presentation"></li>
				<li role="presentation"><a href="/admin/leader-board" tabindex="-1" role="menuitem">Quản lý LeaderboardID</a></li>
			</ul>
		</li>
		<li class="dropdown <?php echo ($this->arrParam['controller'] == 'achievement' || $this->arrParam['controller'] == 'achievement-class')?'active':''?>">
			<a href="#" class="dropdown-toggle" id = "dLabel" data-toggle="dropdown" role="button">
				Danh hiệu <b class="caret"></b>
			</a>
		    <ul aria-labelledby="dLabel" role="menu" class="dropdown-menu">
				<li role="presentation"><a href="/admin/achievement-class" tabindex="-1" role="menuitem">Quản lý loại danh hiệu</a></li>
				<li role="presentation"><a href="/admin/achievement" tabindex="-1" role="menuitem">Quản lý danh hiệu</a></li>
				<li role="presentation"><a href="/admin/achievement/achievement-by-day-chart" tabindex="-1" role="menuitem">Report danh hiệu theo ngày</a></li>
				<li role="presentation"><a href="/admin/achievement/synthesis-achievement" tabindex="-1" role="menuitem">Report danh hiệu theo sản phẩm</a></li>
				<li role="presentation"><a href="/admin/achievement/view-achievement" tabindex="-1" role="menuitem">View danh hiệu</a></li>
			</ul>
		</li>
		<li class="dropdown <?php echo ($this->arrParam['controller'] == 'high-score')?'active':''?>">
			<a href="#" class="dropdown-toggle" id = "dLabel" data-toggle="dropdown" role="button">
				Điểm cao <b class="caret"></b>
			</a>
		    <ul aria-labelledby="dLabel" role="menu" class="dropdown-menu">
				<li role="presentation"><a href="/admin/high-score/high-score-by-day-chart" tabindex="-1" role="menuitem">Report điểm cao theo ngày</a></li>
				<li role="presentation"><a href="/admin/high-score/synthesis-high-score" tabindex="-1" role="menuitem">Report điểm cao theo sản phẩm</a></li>
				<li role="presentation"><a href="/admin/high-score/view-high-score" tabindex="-1" role="menuitem">View điểm cao</a></li>
			</ul>
		</li>
		<li class="<?php echo ($this->arrParam['controller'] == 'user-admin')?'active':''?>"><a href="/admin/user-admin">Người quản trị</a></li>
		<li class="<?php echo ($this->arrParam['controller'] == 'permission')?'active':''?>"><a href="/admin/permission">Phân quyền</a></li>
		<li class=""><a href="/admin/index/change-password">Đổi password</a></li>
		<li class=""><a href="/admin/index/logout">Thoát</a></li>
	</ul>
</div>
<script type="text/javascript">
$(document).ready( function() {
	$('.dropdown-toggle').dropdown();
//	$(function() { $('.dropdown-toggle').dropdown() })
	});
</script>
